package com.mew.common.rest.information;

import com.zebra.common.ByteBufUtils;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class WorldInfoBO {
    private String content;
    /**
     * 范围 -1 大厅 ： 子游戏ID
     */
    private Integer scope;

    public void write(ByteBuf b){
        ByteBufUtils.writeString(b,content);
        ByteBufUtils.writeInt(b,scope);
    }

}
